package com.elitel.frame.web.jdp_common_dictionary.dao;

import com.elitel.frame.web.jdp_common_dictionary.entity.JdpCommonDictionary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * JDP通用字典 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-06-10
 */
public interface JdpCommonDictionaryMapper  {
    int insert(JdpCommonDictionary dictionary);

    int update(JdpCommonDictionary dictionary);

    int deleteById(String id);

    JdpCommonDictionary selectById(String id);

    List<JdpCommonDictionary> selectAll(@Param("name") String name,  @Param("categoryId") String categoryId);

}
